  <div class="mainColumn translate" id="login">
  <?php 
  	echo $javascript->link('login.js');
  	echo $form->create('newpassword',array('action'=>'setpassword'));
  ?>
    
      <h2>Set new password</h2>
      <?php if(isset($this->data['password_diferente'])):?>
      	<span style="color:red;text-align:center"><?php echo __('Both fields must have the same value'); ?></span>
      <?php endif;?>
      <?php if(isset($this->data['password_vazio'])):?>
      	<span style="color:red;text-align:center"><?php echo __('New password can not be empty.'); ?></span>
      <?php endif;?>
      <?php if(isset($this->data['exception'])):?>
      	<span style="color:red;text-align:center"><?php echo $this->data['exception']; ?></span>
      <?php endif;?>
            
      <div class="section">
        <label>Password</label>
        <?php 
        	echo $form->input('login',array('type'=>'hidden'));
        	echo $form->input('new_password',array('type'=>'password','div'=>false,'label'=>false)); 
        ?>
        
      </div>
      <div class="section">
        <label>Retype Password</label>
        <?php echo $form->input('new_password_again',array('type'=>'password','div'=>false,'label'=>false)); ?>
      </div>
      
      <input value="Send" class="newGreenButton" type="button" onclick="submitaForm('newpasswordSetpasswordForm', 'set_new_password', 'logins');" id="setPasswordButton" />
    </form>  
    
  <div id="fb-root"></div>
  
  

  </div>